package com.sihan.framework.etm.schema;

import java.io.Serializable;

import com.framework.model.ResultCode;

import lombok.Data;

@Data
public class ApiResultSchema<T> implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	  /**
	   * 是否成功，默认true
	   */
	  private boolean success = Boolean.TRUE;
	  /**
	   * 是否成功，默认true
	   */
	  private String code = ResultCode.SUCCESS.getKey();
	  /**
	   * 提示信息，默认"操作成功"
	   */
	  private String msg = "操作成功";
	  /**
	   * 返回数据
	   */
	  private T result;
	  
	  private Integer state;

}
